
package com.joysuch.wwyt.core.bean;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

//用于风险分区-区域风险评估-新建区域评估-选择人员
@Data
@JsonInclude(value = Include.NON_NULL)
@NoArgsConstructor
public class BaseUserListBean {

    private Long id;
    private String code;
    private String name;
    private Long departId;
    private String departName;
    private Long jobId;
    private String jobName;
    // 特种作业证书名称
    private String certName;
    private String gender;

    // 考试成绩相关，给 user-list-with-exam-score接口用
    private Long examId;
    private Float passScore;
    private String score;

    //人员模板改动: 岗位拿掉，改为公司。为的是加入承包商人员
    private Long companyId;
    @ApiModelProperty("人员和承包商人员公用字段: 公司")
    private String companyName;
    @ApiModelProperty("人员/承包商人员标识字段: 0 人员; 1 承包商人员")
    private Integer userContractorFlag;

    //外部系统关联URL
    private String refUrl;
    //定位卡号
    private String sn;
    //门禁卡号
    private String cardNumber;
    //头像图标
    private String facePic;
    //联系电话
    private String phoneNumber;
    public BaseUserListBean(Long id, String code, String name, String companyName, Integer userContractorFlag) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.companyName = companyName;
        this.userContractorFlag = userContractorFlag;
    }
}
